<script setup lang="ts">
import { ref } from 'vue'
import Menu from '@/components/admin/menu.vue'
const direction = ref(true)
const leftWidth = ref(120)

</script>
<template>
  <el-container class="container-content">
    <el-aside class="aside-content" :width="leftWidth+'px'"> <Menu /> </el-aside>
    <el-main class="main-content"><router-view></router-view> </el-main>
  </el-container>
</template>

<style lang="scss">
.container-content,.main-content{
  height: 100%;
  padding: 0;
  margin: 0
}
.aside-content{
  position: relative;
  height: 100%;
}
.header-content {
  background: #dfdfdf;
}
</style>
